package org.planaz.campusvoting.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.sql.Timestamp;

@TableName("t_history")
@Data
public class History {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long uid;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long vid;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long aid;
    private Timestamp vtime;
}
